package net.jeeshop.services.front.bbs.impl;

import net.jeeshop.core.ServersManager;
import net.jeeshop.services.front.bbs.BbsCategoryService;
import net.jeeshop.services.front.bbs.bean.BbsCategory;
import net.jeeshop.services.front.bbs.dao.BbsCategoryDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by zuohao on 16/7/7.
 */

@Service("bbsCategoryServiceFront")
public class BbsCategoryServiceImpl extends ServersManager<BbsCategory, BbsCategoryDao> implements
        BbsCategoryService {

    @Resource(name = "bbsCategoryDaoFront")
    @Override
    public void setDao(BbsCategoryDao bbsCategoryDao) {
        this.dao=bbsCategoryDao;
    }

    @Override
    public List selectBbsCategoryList(){
        return dao.selectBbsCategoryList();
    }
}
